set Source
Set the source by index (0 based). Indexes greater than the size of the playlist will wrap.
Parameters
the index of the source in the playlist
set false to only set current source and not start playback
Sets the current Source.
The source must be part of the current module's playlist.
Parameters
The new Source to set as current. It must exist in the current playlist.
If true
, playback of the source starts immediately. If false
, the source is set, but playback is not initiated.
Sets and plays the source specified by playlist index (0 based).
Indexes greater than the size of the playlist will wrap.
Parameters
the index of the source in the playlist
Sets and plays the specified Source
in the playlist.
If the specified Source
is not found in the playlist, this method does nothing.
Parameters
the source to set and play